<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11"
                        style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/budget/projectbudget" aria-expanded="false">项目管理 </a></li>
                        <li class="active"><a href="/app/core/budget/projectbudget?view=create" aria-expanded="true">项目立项</a>
                        </li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                <table class="table table-hover table-striped table-bordered">
                                    <tr>
                                        <td width="20%">${i18n('system.sortNo')}：</td>
                                        <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo"
                                                               maxlength="50" value="" class="form-control"></td>
                                        <td width="20%">项目类型：</td>
                                        <td width="30%"><select name="projectType" id="projectType"
                                                                class="form-control"></select></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目标题:</td>
                                        <td><input placeholder="项目标题" type="text" name="title" id="title" maxlength="50"
                                                   class="form-control"></td>
                                        <td width="20%">项目编号:</td>
                                        <td><input placeholder="项目编号" type="text" name="projectCode" id="projectCode"
                                                   maxlength="50" class="form-control"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目负责人：</td>
                                        <td width="30%"><input placeholder="项目负责人" type="text" name="chargeUser"
                                                               id="chargeUser" class="form-control" readonly="readonly"
                                                               opt-id="chargeUser"
                                                               onclick="selectUser(this,'false');"></td>
                                        <td width="20%">预算总费用：</td>
                                        <td width="30%"><input placeholder="预算总费用" type="number" id="totalCost"
                                                               name="totalCost" class="form-control"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目参与人：</td>
                                        <td width="50%" colspan="2"><textarea placeholder="项目参与人" name="joinUser"
                                                                              id="joinUser" class="form-control"
                                                                              readonly="readonly" row="5"></textarea>
                                        </td>
                                        <td>
                                            <a opt-id="joinUser" onclick="selectUser(this,'true');"
                                               style="cursor: pointer;margin-right: 10px">${i18n('system.select')}</a>
                                            <a style="cursor: pointer;" onclick="clearSelect('joinUser')">${i18n('system.clear')}</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目周期：</td>
                                        <td width="80%" colspan="3"><input
                                                style="display: inline-block; width: 200px; margin-right: 10px"
                                                placeholder="开期时间" type="text" name="beginTime" id="beginTime"
                                                class="form-control"
                                                readonly="readonly"> <span style="display: inline-block;">-</span>
                                            <input style="display: inline-block; width: 200px; margin-left: 10px"
                                                   placeholder="${i18n('system.endTime')}" type="text"
                                                   name="endTime" id="endTime" class="form-control" readonly="readonly">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">资金出处：</td>
                                        <td width="30%"><input placeholder="资金出处" type="text" name="cashFrom"
                                                               id="cashFrom" class="form-control"></td>
                                        <td width="20%">所属科目：</td>
                                        <td width="30%"><input placeholder="所属科目" type="text" id="budgetAccount"
                                                               name="budgetAccount" class="form-control"
                                                               readonly="readonly">
                                            <div id="menuContent" class="menuContent">
                                                <ul id="menuTree" class="ztree"></ul>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">相关附件：</td>
                                        <td width="80%" colspan="3">
                                            <div id="show_attach"></div>
                                            <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value=""
                                                                                                                      type="file"
                                                                                                                      onchange="fileUpLoad('budget','attach');"
                                                                                                                      hidefocus="true"
                                                                                                                      maxlength="1"
                                                                                                                      id="attach"
                                                                                                                      name="attach"
                                                                                                                      class="addfile"
                                                                                                                      multiple="multiple"></a>
                                            <a class="addfile" style="width: 200px;" href="#" op_id="attach"
                                               onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">备注</td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <div id="remark" name="remark" style="height: 300px"></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4" align="center"><a href="javascript:void(0);"
                                                                          class="btn btn-primary js-add-save">${i18n('system.create')}</a>
                                        </td>
                                    </tr>
                                </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/budget/project/createproject.js"></script>
</body>
</html>
